<?php



class DestinoMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.DestinoMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('destino');
		$tMap->setPhpName('Destino');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('DESTINO_ID', 'DestinoId', 'string', CreoleTypes::CHAR, true, 1);

		$tMap->addColumn('DESCRIPCION', 'Descripcion', 'string', CreoleTypes::CHAR, true, 40);

	} 
} 